﻿using System;

namespace StockTradTest
{
    //通知事件参数：派生自事件参数，变量标题+信息
    public class NotificationEventArgs : EventArgs
    {
        public string Title { get; set; }
        public string Message { get; set; }
    }
    //接口：通知管理器
    public interface INotificationManager
    {
        //事件支持器：通知点击
        event EventHandler NotificationReceived;
        //初始化
        void Initialize();
        //发送信息
        void SendNotification(string title, string message, DateTime? notifyTime = null);
        //接收信息
        void ReceiveNotification(string title, string message);
    }
}
